// ScriptManager.h: interface for the CScriptManager class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SCRIPTMANAGER_H__670B4BC6_ABE5_4448_9771_3F5856652BDE__INCLUDED_)
#define AFX_SCRIPTMANAGER_H__670B4BC6_ABE5_4448_9771_3F5856652BDE__INCLUDED_

#include "Application.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CScriptManager  
{
public:
	void RunStartupScript();
	void StopScript();
	void OnScriptMenu(UINT nID);
	void OnScriptMenuInitPopup(CMenu *pMenu);
	CScriptManager();
	~CScriptManager();

protected:
	enumScriptType GetScriptType(LPCTSTR szFileName);
	CString GetFilePostFix(LPCTSTR szFileName);
	void ReleaseArrScript();
	CArray<CString*, CString*> m_arrScript;
};

#endif // !defined(AFX_SCRIPTMANAGER_H__670B4BC6_ABE5_4448_9771_3F5856652BDE__INCLUDED_)
